]> dgit.raspbian.org Git - gnome-shell.git/commit
Make popdown,popup methods idempotent; remove 'popdown' for 'cancelled'
authorColin Walters <walters@verbum.org>
Fri, 11 Sep 2009 21:16:49 +0000 (17:16 -0400)
committerColin Walters <walters@verbum.org>
Mon, 14 Sep 2009 19:37:26 +0000 (15:37 -0400)
commit7ac9fb2dd0bec76ffa9218728c94bf8c7ec8fe34
treef7842bb247465b02e924e602d0c697c3f7289782
parent05c99241d6e93a27fcaa6da3b16ccbb8f93bd978
Make popdown,popup methods idempotent; remove 'popdown' for 'cancelled'

Callers will generally expect _popup and _popdown to be a no-op if
the menu is already in that state; make it so.

Also change the 'popdown' signal to be 'cancelled'; this is
clearer and allows us to avoid having activate also call popdown.

https://bugzilla.gnome.org/show_bug.cgi?id=594699
js/ui/appDisplay.js
src/shell-menu.c